# All amounts stored as µg.

class VitaminContent:      
    VitaminA = 0
    VitaminB1 = 0
    VitaminB2 = 0
    VitaminB3 = 0
    VitaminB5 = 0
    VitaminB6 = 0
    VitaminB7 = 0
    VitaminB9 = 0
    VitaminB12 = 0
    VitaminC = 0
    VitaminD = 0
    VitaminE = 0
    VitaminK = 0

def makeJsonable(obj):
    assert isinstance(obj, VitaminContent)
    return {'VitaminA' : obj.VitaminA,
            'VitaminB1' : obj.VitaminB1,
            'VitaminB2' : obj.VitaminB2,
            'VitaminB3' : obj.VitaminB3,
            'VitaminB5' : obj.VitaminB5,
            'VitaminB6' : obj.VitaminB6,
            'VitaminB7' : obj.VitaminB7,
            'VitaminB9' : obj.VitaminB9,
            'VitaminB12' : obj.VitaminB12,
            'VitaminC' : obj.VitaminC,
            'VitaminD' : obj.VitaminD,
            'VitaminE' : obj.VitaminE,
            'VitaminK' : obj.VitaminK}
